package com.nut.spp.jbb.resp;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class JbbPayPrepayResult implements Serializable {

    private static final long serialVersionUID = 1L;

//    {"code":200,"data":["alipay_qr","wx_pub"],"errorCode":"","msg":"SUCCESS","sum":""}

//    {
//        "orderNo": "string",
//            "payNo": "string",
//            "transactionId": "string",
//            "createdTime": "string",
//            "payAmt": "string",
//            "queryUrl": "string",
//            "bizNo": "string",
//            "expend": "string",
//            "object": "string",
//            "payApplyStatus": "string",
//            "errorCode": "string",
//            "errorMsg": "string",
//            "payChannel": "string"
//    }

    //订单号
    private String orderNo;

    //主商户订单号
    private String payNo;

    //主汇付订单号
    private String transactionId;

    //下单时间
    private String createdTime;

    //支付金额
    private String payAmt;

    //查询地址
    private String queryUrl;

    //客户编码
    private String bizNo;

    //支付信息  例如：阿里扫码支付跳转的地址
    private String expend;

    //接口类型
    private String object;

    //调用状态 SUCCEEDED/FAILED
    private String payApplyStatus;

    //错误信息
    private String errorMsg;

    //错误代码
    private String errorCode;

    //主商户订单号
    private String payChannel;

}
